from django.conf.urls import patterns, include, url

from hotels import views

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'booking_site.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),

	url(r'^$', views.index, name='index'),
	url(r'^index/$', views.index, name='index'),
	url(r'^search/$', views.search, name='search'),
	url(r'^reserve/(?P<room_id>\d+)/(?P<hotel_id>\d+)/(?P<chkin_date>[\w\-]+)/(?P<chkout_date>[\w\-]+)/$', views.reserve, name='reserve'),
	url(r'^viewpics/$', views.viewpics, name='viewpics'),
)

